import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    redirect: '/overview'
  },
  {
    path: '/overview',
    name: 'Overview',
    component: () => import('../views/Overview.vue')
  },
  {
    path: '/purchase-orders',
    name: 'PurchaseOrders',
    component: () => import('../views/PurchaseOrders.vue')
  },
  {
    path: '/purchase-plans',
    name: 'PurchasePlans', 
    component: () => import('../views/PurchasePlans.vue')
  },
  {
    path: '/supplier-quotes',
    name: 'SupplierQuotes',
    component: () => import('../views/SupplierQuotes.vue')
  },
  {
    path: '/receiving',
    name: 'Receiving',
    component: () => import('../views/Receiving.vue')
  }
]

export default routes